
#ifndef CMAPMANAGER_H
#define CMAPMANAGER_H

#include <fstream>
#include <iostream>

#include "Map.h"

class CMapManager
{
public:
	CMapManager(){
	}

	void drawMap(Map *map);
	void fillMapWithFile(Map *map, std::string filenameMap);
	bool checkCollisionWithMap(Map *map, SpritePtr sprite, int movePlayer);
	TilePtr getTileByPosition(Map *map, GLfloat x, GLfloat y, GLfloat offsetX, GLfloat offsetY);

};

#endif